﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Entity.CommonEnums
{
    /// <summary>
    /// 用户操作权限
    /// </summary>
    public enum UserOperator
    {
        #region 通用操作权限

        /// <summary>
        /// 没有任何操作权限
        /// </summary>
        [Description("没有权限")]
        NoneAny = 1,
        /// <summary>
        /// 查看事件
        /// </summary>
        [Description("查看事件")]
        ReadEvent = 2,
        /// <summary>
        /// 添加事件
        /// </summary>
        [Description("添加事件")]
        AddEvent = 4,
        /// <summary>
        /// 修改事件
        /// </summary>
        [Description("修改事件")]
        ModifyEvent = 8,
        /// <summary>
        /// 删除事件
        /// </summary>
        [Description("删除事件")]
        DeleteEvent = 16,
        /// <summary>
        /// 显示支付方式
        /// </summary>
        [Description("显示支付方式")]
        DisPayType = 4096,

        #endregion
    }
}
